/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Chiropractor Provider Codes</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S20309 (C-0-T19465-S20308-S20309-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getChiropractorProviderCodes()
 * @model extendedMetaData="name='ChiropractorProviderCodes'"
 * @generated
 */
public enum ChiropractorProviderCodes implements Enumerator {
	/**
	 * The '<em><b>111N00000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_111N00000X_VALUE
	 * @generated
	 * @ordered
	 */
	_111N00000X(0, "_111N00000X", "111N00000X"),

	/**
	 * The '<em><b>111NI0900X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_111NI0900X_VALUE
	 * @generated
	 * @ordered
	 */
	_111NI0900X(1, "_111NI0900X", "111NI0900X"),

	/**
	 * The '<em><b>111NN0400X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_111NN0400X_VALUE
	 * @generated
	 * @ordered
	 */
	_111NN0400X(2, "_111NN0400X", "111NN0400X"),

	/**
	 * The '<em><b>111NN1001X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_111NN1001X_VALUE
	 * @generated
	 * @ordered
	 */
	_111NN1001X(3, "_111NN1001X", "111NN1001X"),

	/**
	 * The '<em><b>111NX0100X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_111NX0100X_VALUE
	 * @generated
	 * @ordered
	 */
	_111NX0100X(4, "_111NX0100X", "111NX0100X"),

	/**
	 * The '<em><b>111NX0800X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_111NX0800X_VALUE
	 * @generated
	 * @ordered
	 */
	_111NX0800X(5, "_111NX0800X", "111NX0800X"),

	/**
	 * The '<em><b>111NR0200X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_111NR0200X_VALUE
	 * @generated
	 * @ordered
	 */
	_111NR0200X(6, "_111NR0200X", "111NR0200X"),

	/**
	 * The '<em><b>111NS0005X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_111NS0005X_VALUE
	 * @generated
	 * @ordered
	 */
	_111NS0005X(7, "_111NS0005X", "111NS0005X"),

	/**
	 * The '<em><b>111NT0100X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_111NT0100X_VALUE
	 * @generated
	 * @ordered
	 */
	_111NT0100X(8, "_111NT0100X", "111NT0100X");

	/**
	 * The '<em><b>111N00000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>111N00000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_111N00000X
	 * @model literal="111N00000X"
	 * @generated
	 * @ordered
	 */
	public static final int _111N00000X_VALUE = 0;

	/**
	 * The '<em><b>111NI0900X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>111NI0900X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_111NI0900X
	 * @model literal="111NI0900X"
	 * @generated
	 * @ordered
	 */
	public static final int _111NI0900X_VALUE = 1;

	/**
	 * The '<em><b>111NN0400X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>111NN0400X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_111NN0400X
	 * @model literal="111NN0400X"
	 * @generated
	 * @ordered
	 */
	public static final int _111NN0400X_VALUE = 2;

	/**
	 * The '<em><b>111NN1001X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>111NN1001X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_111NN1001X
	 * @model literal="111NN1001X"
	 * @generated
	 * @ordered
	 */
	public static final int _111NN1001X_VALUE = 3;

	/**
	 * The '<em><b>111NX0100X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>111NX0100X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_111NX0100X
	 * @model literal="111NX0100X"
	 * @generated
	 * @ordered
	 */
	public static final int _111NX0100X_VALUE = 4;

	/**
	 * The '<em><b>111NX0800X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>111NX0800X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_111NX0800X
	 * @model literal="111NX0800X"
	 * @generated
	 * @ordered
	 */
	public static final int _111NX0800X_VALUE = 5;

	/**
	 * The '<em><b>111NR0200X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>111NR0200X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_111NR0200X
	 * @model literal="111NR0200X"
	 * @generated
	 * @ordered
	 */
	public static final int _111NR0200X_VALUE = 6;

	/**
	 * The '<em><b>111NS0005X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>111NS0005X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_111NS0005X
	 * @model literal="111NS0005X"
	 * @generated
	 * @ordered
	 */
	public static final int _111NS0005X_VALUE = 7;

	/**
	 * The '<em><b>111NT0100X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>111NT0100X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_111NT0100X
	 * @model literal="111NT0100X"
	 * @generated
	 * @ordered
	 */
	public static final int _111NT0100X_VALUE = 8;

	/**
	 * An array of all the '<em><b>Chiropractor Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final ChiropractorProviderCodes[] VALUES_ARRAY =
		new ChiropractorProviderCodes[] {
			_111N00000X,
			_111NI0900X,
			_111NN0400X,
			_111NN1001X,
			_111NX0100X,
			_111NX0800X,
			_111NR0200X,
			_111NS0005X,
			_111NT0100X,
		};

	/**
	 * A public read-only list of all the '<em><b>Chiropractor Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<ChiropractorProviderCodes> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Chiropractor Provider Codes</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static ChiropractorProviderCodes get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			ChiropractorProviderCodes result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Chiropractor Provider Codes</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static ChiropractorProviderCodes getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			ChiropractorProviderCodes result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Chiropractor Provider Codes</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static ChiropractorProviderCodes get(int value) {
		switch (value) {
			case _111N00000X_VALUE: return _111N00000X;
			case _111NI0900X_VALUE: return _111NI0900X;
			case _111NN0400X_VALUE: return _111NN0400X;
			case _111NN1001X_VALUE: return _111NN1001X;
			case _111NX0100X_VALUE: return _111NX0100X;
			case _111NX0800X_VALUE: return _111NX0800X;
			case _111NR0200X_VALUE: return _111NR0200X;
			case _111NS0005X_VALUE: return _111NS0005X;
			case _111NT0100X_VALUE: return _111NT0100X;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private ChiropractorProviderCodes(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //ChiropractorProviderCodes
